package com.zhang.service.impl;

import com.zhang.mapper.ICityMapper;
import com.zhang.pojo.City;
import com.zhang.service.ICityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class CityServiceImpl implements ICityService {

    @Autowired
    private ICityMapper cityMapper;

    @Override
    public List<City> findAll() {
        return cityMapper.findAll();
    }
}
